package com.xianggu.mybatis.utils;

import java.sql.PreparedStatement;
import java.sql.ResultSet;

/**
 * @author chengjy
 * @date 2025/3/5
 */
public interface TypeHandler<T> {

    void setPreparedStatementValue(PreparedStatement preparedStatement , int i, T t, String pName);

    T getParameterValue(ResultSet resultSet , String columnName);

    T  toBaseType(Object num);
}
